package com.rjkj.medicalwaste.utils

import com.inuker.bluetooth.library.BluetoothClient
import com.rjkj.medicalwaste.MWApplication


object ClientManager {
    private var mClient: BluetoothClient? = null
    val client: BluetoothClient?
        get() {
            if (mClient == null) {
                synchronized(ClientManager::class.java) {
                    if (mClient == null) {
                        mClient = BluetoothClient(MWApplication.getApp())
                    }
                }
            }
            return mClient
        }
}
